WeDevs\Dokan\Commission\Formula\CategoryBased S

Total Complexity 48
Dependencies 2
Dependents 3
Total lines 343
Lines of code 119
Logical lines of code 66
Comment lines 171
Methods 15
Properties 8

Methods 15

Method Rating Maintainability Complexity Lines of code
is_valid_commission_data()
B
49 20 29
get_valid_commission_settings()
A
50 11 27
calculate()
S
58 3 16
is_applicable()
S
65 3 9
__construct()
S
75 1 4
get_meta_data()
S
82 1 3
set_meta_data()
S
77 1 4
get_type()
S
82 1 3
get_parameters()
S
70 1 6
get_source()
S
81 1 3
is_valid_commission_type()
S
79 1 3
get_admin_commission()
S
82 1 3
get_vendor_earning()
S
82 1 3
get_per_item_admin_commission()
S
80 1 3
get_items_total_quantity()
S
82 1 3